<!DOCTYPE html>
<!-- saved from url=(0168)http://localhost:8080/css/11.Grid%E6%A0%85%E6%A0%BC%E7%B3%BB%E7%BB%9F/22.%E6%A0%85%E6%A0%BC%E6%95%B4%E4%BD%93%E5%AF%B9%E9%BD%90%E6%96%B9%E5%BC%8F%E5%A4%84%E7%90%86.html -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>21.栅格流动处理机制</title>
  <style>
    article {
      width: 400px;
      height: 100px;
      border: solid 5px silver;
      display: grid;
      grid-template-rows: repeat(1, 1fr);
      grid-template-columns: repeat(4, 1fr);
    }



    div {
      background-color: blueviolet;
      background-clip: content-box;
      box-sizing: border-box;
      color: white;
      border: solid 1px #DDD;
      font-size: 45px;
      padding: 10px;
    }

 
  </style>
</head>

<body><script id="__bs_script__">//<![CDATA[
    document.write("<script async src='/browser-sync/browser-sync-client.js?v=2.26.7'><\/script>".replace("HOST", location.hostname));
//]]></script><script async="" src="./21.栅格流动处理机制_files/browser-sync-client.js"></script>

  <article>
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>

  </article>


</body></html>